<%-- 
    Document   : index
    Created on : Jan 17, 2013, 1:22:10 AM
    Author     : owtee
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<div id="templatemo_main_wrapper">    
    <div id="templatemo_main">
        <div id="content">             
            <div id="home" class="section">
                <form method="POST" action="../view/Logon">
                    <table align="center" border="0">
                        <tr>
                            <td>
                                <img src="../images/cleo.gif" width="300" height="400">
                            </td>
                            <td>
                                <table>
                                    <c:if test="${not empty sessionTimeOut}">
                                        <tr>
                                            <td colspan="2" style="color: red;"><h2>Session Expire</h2></td>
                                        </tr>
                                    </c:if>
                                    <c:forEach items="${mesLst}" var="message">
                                        <tr>
                                            <td colspan="2">${message.getMesDetail()}</td>
                                        </tr>
                                    </c:forEach> 
                                    <tr>
                                        <td>Username :</td>
                                        <td>
                                            <input type="text" id="txtUsername" name="txtUsername" value="${param.txtUsername}" style="width: 150px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Password :</td>
                                        <td>
                                            <input type="password" id="txtPassword" name="txtPassword" style="width: 150px;" />
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td colspan="2" style="text-align: center">
                                            <input type="submit" value="Logon" />
                                            <input type="reset" value="Clear" />
                                        </td>                        
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </form>              
            </div>                         
        </div> 
    </div>
</div>
